{
  "params": "fields=forward&from=0&to=50&deviceId=xxxxxxxxxxxx&moduleTypeId=xxxxxx",
  "inputComments": "Specify the deviceId and api to list the forward data logs.",
  "inputDefinition": "<table class=\"table table-bordered table-hover table-striped\"><tbody><tr><td>deviceId</td><td>The device id to list forward data logs.</td></tr><tr><td>moduleTypeId</td><td>The moduleTypeId to list forward data logs, if not specified, it will return all types.</td></tr><tr><td>from to</td><td>Returns rows starting from 'from' to 'to'. 'from' starts at 0. If not filled, only the first 10 records are returned, with a maximum limit of 1000 records.</td></tr></tbody></table>",
  "outputComments": "The cloud will forward data to your server, and you can also query logs by this api.It will only return top 50 records.",
  "outputDefinition": "<table class=\"table table-bordered table-hover table-striped\"><tbody><tr><td>status</td><td>If success, it will ok.</td></tr><tr><td>forwardList</td><td>The container.</td></tr><tr><td>createTime</td><td>In format 11-14 19:01:28.</td></tr><tr><td>rx</td><td>Response get from your server, and it is URL encoded.</td></tr><tr><td>tx</td><td>The json content is sent to your server.</td></tr><tr><td>error</td><td>When data is successfully forwarded, it will be 0, and -1 means it is not forwarded because when the data is created the forward URL is not configed, for other negative code, it indicates different errors.</td></tr><tr><td>pack</td><td>The log id in cloud.</td></tr><tr><td>url</td><td>The URL which cloud will forward data to.</td></tr></tbody></table>",
  "outputExample": "{\r\n  \"forwardList\": [\r\n    {\r\n      \"tx\": \"{\\\"key\\\":\\\"4931c2a2b5b349d013e42a56bf5094e9\\\",\\\"content\\\":{...}}\",\r\n      \"createTime\": \"02-20 13:48:47\",\r\n      \"rx\": \"4xx+or+5xx+error\",\r\n      \"moduleName\": \"MODULE_GPIO\",\r\n      \"id\": \"67b6c23ff444022e96a01a54\",\r\n      \"type\": \"LOG\",\r\n      \"error\": \"-2\",\r\n      \"pack\": \"e21d36\",\r\n      \"url\": \"http://www.abc.com\"\r\n    }\r\n  ],\r\n  \"forwardStatus\": true,\r\n  \"status\": \"ok\"\r\n}",
  "protocol": "GET_POST",
  "jsonContent": "{\r\n  \"forwardList\": [\r\n    {\r\n      \"tx\": \"{\\\"key\\\":\\\"4931c2a2b5b349d013e42a56bf5094e9\\\",\\\"content\\\":{...}}\",\r\n      \"createTime\": \"02-20 13:48:47\",\r\n      \"rx\": \"4xx+or+5xx+error\",\r\n      \"moduleName\": \"MODULE_GPIO\",\r\n      \"id\": \"67b6c23ff444022e96a01a54\",\r\n      \"type\": \"LOG\",\r\n      \"error\": \"-2\",\r\n      \"pack\": \"e21d36\",\r\n      \"url\": \"http://www.abc.com\"\r\n    }\r\n  ],\r\n  \"forwardStatus\": true,\r\n  \"status\": \"ok\"\r\n}",
  "apiKey": "[[${apiKey}]]",
  "apiRunning": "[[${apiRunning}]]"
}